//    Copyright (C) 2013  <lugocreation@gmail.com>
//
//    This program is free software: you can redistribute it and/or modify
//    it under the terms of the GNU General Public License as published by
//    the Free Software Foundation, either version 3 of the License, or
//    (at your option) any later version.
//
//    This program is distributed in the hope that it will be useful,
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//    GNU General Public License for more details.
//
//    You should have received a copy of the GNU General Public License
//    along with this program.  If not, see <http://www.gnu.org/licenses/>.
package org.jpgolay.me.print.options;

import java.awt.*;
import javax.swing.*;

public class GroupFooterPagePanel extends JPanel {

    public GroupFooterPagePanel() {
        agencyCompanyCheckBox = null;
        agencyStatusCheckBox = null;
        agencyNotesCheckBox = null;
        agencySiretCheckBox = null;
        agencyNafCheckBox = null;
        agencyEmailCheckBox = null;
        agencyWebCheckBox = null;
        initialize();
    }

    private void initialize() {
        FlowLayout flowLayout6 = new FlowLayout();
        setLayout(flowLayout6);
        setSize(600, 72);
        setBorder(BorderFactory.createTitledBorder(null, "Bas de page", 0, 0, new Font("Dialog", 1, 12), new Color(51, 51, 51)));
        flowLayout6.setHgap(2);
        flowLayout6.setVgap(2);
        add(getAgencyCompanyCheckBox(), null);
        add(getAgencyStatusCheckBox(), null);
        add(getAgencyNotesCheckBox(), null);
        add(getAgencySiretCheckBox(), null);
        add(getAgencyNafCheckBox(), null);
        add(getAgencyEmailCheckBox(), null);
        add(getAgencyWebCheckBox(), null);
    }

    private JCheckBox getAgencyCompanyCheckBox() {
        if (agencyCompanyCheckBox == null) {
            agencyCompanyCheckBox = new JCheckBox();
            agencyCompanyCheckBox.setPreferredSize(new Dimension(202, 20));
            agencyCompanyCheckBox.setText("Agence Raison sociale");
        }
        return agencyCompanyCheckBox;
    }

    private JCheckBox getAgencyStatusCheckBox() {
        if (agencyStatusCheckBox == null) {
            agencyStatusCheckBox = new JCheckBox();
            agencyStatusCheckBox.setPreferredSize(new Dimension(102, 20));
            agencyStatusCheckBox.setText("Civilit\351");
        }
        return agencyStatusCheckBox;
    }

    private JCheckBox getAgencyNotesCheckBox() {
        if (agencyNotesCheckBox == null) {
            agencyNotesCheckBox = new JCheckBox();
            agencyNotesCheckBox.setPreferredSize(new Dimension(280, 20));
            agencyNotesCheckBox.setText("Notes (infos)");
        }
        return agencyNotesCheckBox;
    }

    private JCheckBox getAgencySiretCheckBox() {
        if (agencySiretCheckBox == null) {
            agencySiretCheckBox = new JCheckBox();
            agencySiretCheckBox.setPreferredSize(new Dimension(146, 20));
            agencySiretCheckBox.setText("Siret");
        }
        return agencySiretCheckBox;
    }

    private JCheckBox getAgencyNafCheckBox() {
        if (agencyNafCheckBox == null) {
            agencyNafCheckBox = new JCheckBox();
            agencyNafCheckBox.setPreferredSize(new Dimension(146, 20));
            agencyNafCheckBox.setText("Naf");
        }
        return agencyNafCheckBox;
    }

    private JCheckBox getAgencyEmailCheckBox() {
        if (agencyEmailCheckBox == null) {
            agencyEmailCheckBox = new JCheckBox();
            agencyEmailCheckBox.setPreferredSize(new Dimension(146, 20));
            agencyEmailCheckBox.setText("Email");
        }
        return agencyEmailCheckBox;
    }

    private JCheckBox getAgencyWebCheckBox() {
        if (agencyWebCheckBox == null) {
            agencyWebCheckBox = new JCheckBox();
            agencyWebCheckBox.setPreferredSize(new Dimension(144, 20));
            agencyWebCheckBox.setText("Site web");
        }
        return agencyWebCheckBox;
    }

    public JCheckBox getAgencyCompany() {
        return getAgencyCompanyCheckBox();
    }

    public JCheckBox getAgencyStatus() {
        return getAgencyStatusCheckBox();
    }

    public JCheckBox getAgencyNotes() {
        return getAgencyNotesCheckBox();
    }

    public JCheckBox getAgencySiret() {
        return getAgencySiretCheckBox();
    }

    public JCheckBox getAgencyNaf() {
        return getAgencyNafCheckBox();
    }

    public JCheckBox getAgencyEmail() {
        return getAgencyEmailCheckBox();
    }

    public JCheckBox getAgencyWeb() {
        return getAgencyWebCheckBox();
    }
    private JCheckBox agencyCompanyCheckBox;
    private JCheckBox agencyStatusCheckBox;
    private JCheckBox agencyNotesCheckBox;
    private JCheckBox agencySiretCheckBox;
    private JCheckBox agencyNafCheckBox;
    private JCheckBox agencyEmailCheckBox;
    private JCheckBox agencyWebCheckBox;
}
